﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using ShrinkWrap.HttpHandler;
using ShrinkWrap.Minifier;

namespace ShrinkWrap.Test.HttpHandler
{
    [TestFixture]
    public class JavascriptHandlerFixture
    {
        [TestCase]
        public void TestCreation()
        {
            var handler = new JavascriptHandler();
 
            Assert.IsInstanceOf<JavascriptMinifier>( handler.Minifier );
            Assert.AreEqual("text/javascript", handler.ContentType);
            Assert.IsTrue(handler.IsReusable);
        }
    }
}
